class ChangeVotesType < ActiveRecord::Migration
  def self.up
    change_column :votes, :heaven, :float, :scale => 6
    change_column :votes, :purgatory, :float, :scale => 6
    change_column :votes, :hell, :float, :scale => 6
  end

  def self.down
    change_column :votes, :hell, :integer
    change_column :votes, :heaven, :integer
    change_column :votes, :purgatory, :integer
  end
end
